package com.neusoft.controller;


import com.neusoft.pojo.Notice;
import com.neusoft.service.INoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



//让普通类编程Servlet类
@RestController
@RequestMapping("manageinform")
@CrossOrigin

public class Notice_controller {
    @Autowired
    INoticeService noticeService;

    @RequestMapping("list")
    public java.util.List<Notice> list(Notice notice){ return noticeService.noticeList(notice); }
}
